package Messages;

import java.util.Vector;

import DataObjects.RecipeLeftList;

/**
 *  Class(type message) which gets list of all items(products) for sending it to client for creation new recipe .
 *  
 */
public class MessageGetAllItemsForNewRecipeReply extends Message {

private Vector<RecipeLeftList> items ;
	
	public Vector<RecipeLeftList> getRecipes() {
		return items;
	}
	
	public void setRecipes(Vector<RecipeLeftList> recipes) {
		this.items = recipes;
	}
	
	public MessageGetAllItemsForNewRecipeReply(Vector<RecipeLeftList> res)
	{
		super(Message.MessageType.MESSAGE_GET_ALL_ITEMS_FOR_NEW_RECIPE_REPLY);
		this.items=res;

	}
	
	
}
